/*
 * @Author: Automator
 * @Date: 2018-05-22 18:19:08
 * @description: 
*/

 const  api = {

     /*
     * 方法描述:竞品运营标记为运营 ,请求方式:POST ,参数:companyId number 工商 Id ,返回值:JsonResult,是否可用:no
     * @param companyId  companyId  Required:[true]  Type:[integer]  Location:[path]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'operativeBusiness': {url: '/cms/v2/api/com/business/operative/{companyId}', method: 'post'},

     /*
     * 方法描述:删除当前企业业务数据 ,请求方式: DELETE ,参数:该条记录id ,返回值:JsonResult,是否可用:no
     * @param id  id  Required:[true]  Type:[integer]  Location:[path]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'deleteComBusinessById': {url: '/cms/v2/api/com/{id}/business', method: 'delete'},

     /*
     * 方法描述:添加企业业务 ,请求方式:POST ,参数:ComBusinessDto ,返回值:JsonResult,是否可用:no
     * @param comBusinessDto  comBusinessDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'saveComBusiness': {url: '/cms/v2/api/com/business', method: 'post'},

     /*
     * 方法描述:编辑企业业务 ,请求方式: PUT ,参数:ComBusinessDto ,返回值:JsonResult,是否可用:no
     * @param comBusinessDto  comBusinessDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'updateComBusiness': {url: '/cms/v2/api/com/business', method: 'put'},

     /*
     * 方法描述:根据企业id和运营状态 获取当前工商的所有企业业务 ,请求方式:GET ,参数:ComPBJSearchDto,返回值:PageResult<ComBusinessVO>,是否可用:no
     * @param pageParam.pageIndex    Required:[false]  Type:[integer]  Location:[query]
     * @param pageParam.pageSize    Required:[false]  Type:[integer]  Location:[query]
     * @param companyId  工商 id  Required:[false]  Type:[integer]  Location:[query]
     * @param operate   运营标记  Required:[false]  Type:[integer]  Location:[query]
     */
    'getComBusinessPage': {url: '/cms/v2/api/com/business/page', method: 'get'}

};

 export default api;
